package com.liuyfly.datastructure.dto;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DoubleNode<T> {

    private T value;

    private DoubleNode<T> previous;

    private DoubleNode<T> next;

    public DoubleNode(T data) {
        this.value = data;
    }
}
